{% include 'admin/header_admin.html' %}
{% if user.is_authenticated and user.is_superuser%}
	<div class="content">
		<div class="col_izq">
			{% include 'admin/admin_menu_izq.html' %}
		</div>
	
		<div class="col_central">
			<form id="pelicula-add" method="post" action="/admin-peliculas/add/">
				{% csrf_token %}
				<table>
                {{form.as_table}}
                	<tr>
                		<td><input type="submit" name="submit" value="Confirmar" /></td>
                		<td><a href="/admin-peliculas/">Cancelar</a></td>
                	</tr>
                </table>
			</form>
			
		</div>
	
		<div class="col_der">
			<a href="/home/">Visitar la web</a>
		</div>
	</div>
{% endif %}
